package com.test.loop;

public class WhileDemo3 {
    public static void main(String[] args) {
        //目标：掌握while循环的书写
        test1();
    }

    public static void test1() {
        int i = 0;
        while (i < 3) {
            System.out.println("helloworld!");
            i++;
        }
    }
}
